﻿using StarryEdge.Core.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StarryEdge.Core.Models.Interact
{
    public class ScanSignalModel<T> : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler? PropertyChanged;
        public int Index { get; set; }
        /// <summary>
        /// 服务名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 设备类型
        /// </summary>
        public DeviceTypes DeviceType { get; set; }
        /// <summary>
        /// 起始标签
        /// </summary>
        public T Address_Start { get; set; }
        /// <summary>
        /// 信号长度
        /// </summary>
        public int Length_Signal { get; set; }
        /// <summary>
        /// 切除长度
        /// </summary>
        public int Length_Resection { get; set; }
        /// <summary>
        /// 寻址方式
        /// </summary>
        public string AddressingMethod { get; set; }
        /// <summary>
        /// 心跳标签
        /// </summary>
        public T Heartbeat { get; set; }
    }
}
